package com.duoec.doc.service.impl.mock.base;

import com.duoec.doc.entity.MockConfigItem;
import com.duoec.doc.service.IBaseTypeMocker;
import com.duoec.doc.service.IMocker;
import org.springframework.stereotype.Service;

@Service
public class LocalDateTimeBaseTypeMocker implements IMocker, IBaseTypeMocker {
    /**
     * mock配置输出的响应
     *
     * @param item 配置
     */
    @Override
    public String mock(MockConfigItem item) {
        return "2023-03-30T10:39:10.234";
    }

    /**
     * 可处理的类型
     *
     * @return 类型
     */
    @Override
    public Integer getMockType() {
        return 7;
    }
}
